/* this file is used to convert lowercase letters to uppercase letters in the file */
#include <stdio.h>
FILE *fp,*gp;
int main()
{
  int c;
  fp = fopen("source.txt","r");
  gp = fopen("target.txt","w");
  while((c=getc(fp))!= EOF)
  {
	  if(c!=EOF)
		  putc(c-32,gp);
  }
  fseek(gp, -1, SEEK_CUR);
  fputc('\n',gp);

  fclose(fp);
  fclose(gp);
  return 0;
}
